import { useRoutes } from 'react-router-dom';
import { routes } from './router/index';
import { Suspense } from 'react';
function App() {
  const ele = useRoutes(routes);
  return (
    <>
      {/* <h1 className="text-3xl font-bold underline">
         <div className="w-50 h-10 bg-yellow-200">Hello world!</div>
      </h1> */}
      <Suspense>
        {/* <Router></Router> */}
        {ele}
      </Suspense>
    </>
  );
}

export default App;
